home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / System 7.0 Samples / AEObject-Edition1.0.2 Sample / NewDialog.h < prev    next >
Encoding:
Text File  |  1992-03-09  |  858 b   |  19 lines  |  [TEXT/MPS ]

  1. /* These are the new Dialog Manager calls described in Tech note #304 */
  2.  
  3. pascal OSErr GetStdFilterProc(ModalFilterProcPtr *theProc )
  4.     = { 0x303C, 0x0203, 0xAA68 };
  5.  
  6. /* Indicates to the dialog manager which item is default.  Will then alias the return key */
  7. /* to this item, and also bold border it for you (yaaaaa!) */        
  8. pascal OSErr SetDialogDefaultItem(DialogPtr theDialog, short newItem) 
  9.     = { 0x303C, 0x0304, 0xAA68 };        
  10.  
  11. /* Indicates which item should be aliased to escape or Command - . */
  12. pascal OSErr SetDialogCancelItem(DialogPtr theDialog, short newItem)
  13.     = { 0x303C, 0x0305, 0xAA68 };
  14.  
  15. /* Tells the dialog manager that there is an edit line in this dialog, and */ 
  16. /* it should track and change to an I-Beam cursor when over the edit line */
  17. pascal OSErr SetDialogTracksCursor(DialogPtr theDialog, Boolean tracks)
  18.     = { 0x303C, 0x0306, 0xAA68 };
  19.